package net.dnw.practicesummary.home.contract;


import net.dnw.practicesummary.mvp.net.HttpResponse;
import net.dnw.practicesummary.mvp.base.IModel;
import net.dnw.practicesummary.mvp.base.IView;

import io.reactivex.Observable;


/**
 * Created by Administrator on 2019/2/22 0022.
 */

public interface MainContract {

    interface MainModel extends IModel {

        Observable<HttpResponse> getDataFromNet();

    }
    /**
     * 获取控件
     */
    interface MainView extends IView {

        void setTestTip(String data);



    }

    interface MainPresenter {
        void getData();
    }

}
